/*
public class Test2 {
    String s;
    public static int add(int a,int b) {
        return a+b;
    }

    public static int add(int a,int b,int c) {
        return a+b+c;
    }

    public static int add(int...a) {
        int ret = 0;
        for(int x:a) {
            ret+=x;
        }
        return ret;
    }

    */
/*public static int add(int[] array) {
        int ret = 0;
        for(int x:array) {
            ret+=x;
        }
        return ret;
    }*//*


    public static void main(String[] args) {
        Test2 test2 = new Test2();
        System.out.println(test2.s);
        System.out.println(new Test2().s);
        int[] array = {1,2,3,4,5};
        System.out.println(add(array));
        System.out.println(add(new int[]{1,2,3,4}));
    }
}
*/

/*
public class Test2 {
    public static int aMethod() {
        //static int i = 0;
        //被static修饰的只能是成员变量，不能是局部变量
        i++;
        return i;
    }
    public static void main(String[] args) {
        test.aMethod();
        int j = test.aMethod();
        System.out.println(j);
    }
}
*/

public class Test2 {


    public static void main(String[] args) {

    }
}




